import React from 'react'

import './index.scss'

const SwiperContent = ({data}) => {

  return data ? <div className='SwiperContent'>
      <h1>{data.plan_name}</h1>
      <div>
        <div><h4>预案时间：</h4><i>{data.start_time} - {data.end_time}</i></div>
        <div><h4>预案级别：</h4><i>{data.plan_level}</i></div>
        <div><h4>持续时间：</h4><i>{data.duration_days}天</i></div>
        <div><h4>预案类别：</h4><i>{data.plan_type}</i></div>
      </div>
    </div> : []
}

export default SwiperContent
